import java.util.Scanner;

public class McMain {

    public static void main(String[] args) {
        System.out.println("请选择操作");
        System.out.println("1、提取鸣潮抽卡链接");
        System.out.println("2、提取星穹铁道抽卡链接");
        System.out.println("（提取抽卡链接需要保证当天内有打开游戏抽卡记录页面）");
        Scanner scanner = new Scanner(System.in);
        int c = scanner.nextInt();
        while(c != 1 && c != 2){
            System.out.println("输入错误，请重新输入");
            c = scanner.nextInt();
        }
        if(c == 1){
            new MCGachaUtils().extractUrl();
        }else{
            new SrGachaUrl().extractUrl();
        }


    }
}
